package com.yonyou.gmmc.service.dealer.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "TT_TESTDRIVE")
public class TtTestdrive {
    @Id
    @Column(name = "DRIVE_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_TESTDRIVE")
    private Long driveId;

    @Column(name = "SEX")
    private Short sex;

    @Column(name = "USER_NAME")
    private String userName;

    @Column(name = "USER_PHONE")
    private String userPhone;

    @Column(name = "PROVICE_CODE")
    private String proviceCode;

    @Column(name = "CITY_CODE")
    private String cityCode;

    @Column(name = "ADDRESS")
    private String address;

    @Column(name = "MODEL_CODE_NEW")
    private String modelCodeNew;

    @Column(name = "STATUS")
    private Integer status;

    @Column(name = "APPLY_TIME")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date applyTime;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "CREATE_BY")
    private Long createBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "UPDATE_BY")
    private Long updateBy;

    @Column(name = "ODD_NUMBER")
    private String oddNumber;

    @Column(name = "REMARK")
    private String remark;

    @Column(name = "LICENSE_NO")
    private String licenseNo;

    @Column(name = "DISPATCH_CITY")
    private String dispatchCity;

    @Column(name = "DISPATCH_OBJECT")
    private String dispatchObject;

    @Column(name = "APPRECIATION_ENGINEER")
    private String appreciationEngineer;

    @Column(name = "COUNSELOR")
    private String counselor;
    
    @Column(name = "MANAGER")
    private String manager;

    @Column(name = "DRIVE_AGREEMENT_URL")
    private String driveAgreementUrl;
    
    @Column(name = "DRIVE_START_TIME")
    private Date driveStartTime;
    
    @Column(name = "DRIVE_END_TIME")
    private Date driveEndTime;
    
    private String appellation;
    
    private String statusName;
    
    private String engineerPhone;
    

    /**
     * @return DRIVE_ID
     */
    public Long getDriveId() {
        return driveId;
    }

    /**
     * @param driveId
     */
    public void setDriveId(Long driveId) {
        this.driveId = driveId;
    }

    /**
     * @return SEX
     */
    public Short getSex() {
        return sex;
    }

    /**
     * @param sex
     */
    public void setSex(Short sex) {
        this.sex = sex;
    }

    /**
     * @return USER_NAME
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return USER_PHONE
     */
    public String getUserPhone() {
        return userPhone;
    }

    /**
     * @param userPhone
     */
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    /**
     * @return PROVICE_CODE
     */
    public String getProviceCode() {
        return proviceCode;
    }

    /**
     * @param proviceCode
     */
    public void setProviceCode(String proviceCode) {
        this.proviceCode = proviceCode;
    }

    /**
     * @return CITY_CODE
     */
    public String getCityCode() {
        return cityCode;
    }

    /**
     * @param cityCode
     */
    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    /**
     * @return ADDRESS
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return MODEL_CODE_NEW
     */
    public String getModelCodeNew() {
        return modelCodeNew;
    }

    /**
     * @param modelCodeNew
     */
    public void setModelCodeNew(String modelCodeNew) {
        this.modelCodeNew = modelCodeNew;
    }

    /**
     * @return STATUS
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return APPLY_TIME
     */
    public Date getApplyTime() {
        return applyTime;
    }

    /**
     * @param applyTime
     */
    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return CREATE_BY
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return ODD_NUMBER
     */
    public String getOddNumber() {
        return oddNumber;
    }

    /**
     * @param oddNumber
     */
    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    /**
     * @return REMARK
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return LICENSE_NO
     */
    public String getLicenseNo() {
        return licenseNo;
    }

    /**
     * @param licenseNo
     */
    public void setLicenseNo(String licenseNo) {
        this.licenseNo = licenseNo;
    }

    /**
     * @return DISPATCH_CITY
     */
    public String getDispatchCity() {
        return dispatchCity;
    }

    /**
     * @param dispatchCity
     */
    public void setDispatchCity(String dispatchCity) {
        this.dispatchCity = dispatchCity;
    }

    /**
     * @return DISPATCH_OBJECT
     */
    public String getDispatchObject() {
        return dispatchObject;
    }

    /**
     * @param dispatchObject
     */
    public void setDispatchObject(String dispatchObject) {
        this.dispatchObject = dispatchObject;
    }

    /**
     * @return APPRECIATION_ENGINEER
     */
    public String getAppreciationEngineer() {
        return appreciationEngineer;
    }

    /**
     * @param appreciationEngineer
     */
    public void setAppreciationEngineer(String appreciationEngineer) {
        this.appreciationEngineer = appreciationEngineer;
    }

    /**
     * @return COUNSELOR
     */
    public String getCounselor() {
        return counselor;
    }

    /**
     * @param counselor
     */
    public void setCounselor(String counselor) {
        this.counselor = counselor;
    }
    
    /**
     * @return the manager
     */
    public String getManager() {
        return manager;
    }
    
    /**
     * @param manager the manager to set
     */
    public void setManager(String manager) {
        this.manager = manager;
    }

    /**
     * @return DRIVE_AGREEMENT_URL
     */
    public String getDriveAgreementUrl() {
        return driveAgreementUrl;
    }

    /**
     * @param driveAgreementUrl
     */
    public void setDriveAgreementUrl(String driveAgreementUrl) {
        this.driveAgreementUrl = driveAgreementUrl;
    }
    
    /**
     * @return the appellation
     */
    public String getAppellation() {
        return appellation;
    }

    /**
     * @param appellation the appellation to set
     */
    public void setAppellation(String appellation) {
        this.appellation = appellation;
    }
    
    /**
     * @return the statusName
     */
    public String getStatusName() {
        return statusName;
    }
    
    /**
     * @param statusName the statusName to set
     */
    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }
    
    /**
     * @return the engineerPhone
     */
    public String getEngineerPhone() {
        return engineerPhone;
    }
    
    /**
     * @param engineerPhone the engineerPhone to set
     */
    public void setEngineerPhone(String engineerPhone) {
        this.engineerPhone = engineerPhone;
    }
    
    /**
     * @return the driveStartTime
     */
    public Date getDriveStartTime() {
        return driveStartTime;
    }

    
    /**
     * @param driveStartTime the driveStartTime to set
     */
    public void setDriveStartTime(Date driveStartTime) {
        this.driveStartTime = driveStartTime;
    }

    
    /**
     * @return the driveEndTime
     */
    public Date getDriveEndTime() {
        return driveEndTime;
    }

    
    /**
     * @param driveEndTime the driveEndTime to set
     */
    public void setDriveEndTime(Date driveEndTime) {
        this.driveEndTime = driveEndTime;
    }
}